package cn.com.shaom.learning.sb.security.example2.dao;


import cn.com.shaom.learning.sb.security.example2.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * ClassName: SysUserRepository
 * Desc:
 * Date： 2017/5/23
 * Created：shaom
 */
public interface SysUserRepository extends JpaRepository<User, Long> {

    /**
     * @param name
     * @return
     */
    User findByName(String name);

}
